<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title th:text="${session.title}">123</title>
    <link th:replace="common/header"/>
    <link rel="stylesheet" th:href="@{/css/ace-skins.min.css}"/>
    <link th:replace="common/tip"/>
</head>
<body class="navbar-fixed">
<div th:replace="common/top"></div>
<div class="container-fluid main_bg" id="main-container">
    <a id="menu-toggler" href="#"><span></span></a>
    <div th:replace="common/menu"></div>
    <div id="main-content" class="clearfix">
        <div id="page-content" class="clearfix">
            <div th:replace="common/title"></div>
            <h3 class="header smaller lighter blue"><em class="icon-list"></em>球员收藏列表</h3>
            <form class="form-horizontal" th:object="${footScinfoSearchForm}" method="post"
                  th:action="@{/hy/footScinfo/search}"
                  name="form"
                  th:if="${session.footUser.qx.text == '会员' || session.footUser.qx.text == 'VIP1' || session.footUser.qx.text == 'VIP2' || session.footUser.qx.text == 'VIP3'}">
                <div class="row-fluid">
                    <!--PAGE CONTENT BEGINS HERE-->
                    <div class="span8">
                        <div class="row-fluid">
                            <a class="btn" type="button" th:href="@{/index}"><em class="icon-arrow-left"></em>返回首页</a>
                        </div>
                    </div>
                    <div class="span4" th:if="${null != footScinfoList && #lists.size(footScinfoList) > 0}">
                        <div class="row-fluid">
                            <div class="span9">
                                <input type="text" name="qyName" class="input_fix" placeholder="球员名称或英文"/>
                            </div>
                            <div class="span3">
                                <button class="btn btn-info" type="button" style="float: right;"
                                        onclick="pagechange(1);"><em class="icon-search"></em>查询
                                </button>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="row-fluid">
                    <div class="span12">
                        <span th:if="${null == footScinfoList || #lists.size(footScinfoList) == 0}"
                              th:utext="${session.footUser.nike} + '目前还没有收藏球员，我要去<a href=/hy/footPerson/search>球员中心</a>'">123</span>
                        <div class="row-fluid" th:if="${null != footScinfoList && #lists.size(footScinfoList) > 0}" th:each="i : ${#numbers.sequence(0, 1)}">
                            <div class="span1">
                                &nbsp;
                            </div>
                            <div th:each="j : ${#numbers.sequence(0, 4)}">
                                <div class="span2" th:if="${#lists.size(footScinfoList) > i*5+j}">
                                    <a th:href='@{/hy/footScinfo/view(id=${footScinfoList[i*5+j].qyId})}'>
                                        <div class="row-fluid">
                                            <div class="span12">
                                                <img th:src="@{'/' + ${footScinfoList[i*5+j].logoUrl}}"
                                                     style="min-height:150px;" src="" alt=""
                                                     th:if="${footScinfoList[i*5+j].logoUrl != null}"/>
                                                <img th:src="@{/images/null.jpg}" style="min-height:150px;" src="" alt=""
                                                     th:if="${footScinfoList[i*5+j].logoUrl == null}"/>
                                            </div>
                                        </div>
                                        <div class="row-fluid">
                                            <div class="span12">
                                                <div th:text="${'球员名称:' + footScinfoList[i*5+j].qyName + '(' + footScinfoList[i*5+j].yw + ')'}"></div>
                                            </div>
                                        </div>
                                        <div class="row-fluid">
                                            <div class="span12">
                                                <div th:text="${'收藏玩家:' + footScinfoList[i*5+j].userName}">/</div>
                                            </div>
                                        </div>
                                        <div class="row-fluid">
                                            <div class="span12">
                                                <div th:text="${'所属玩家:' + (footScinfoList[i*5+j].sswj == null ? '无' : footScinfoList[i*5+j].sswj)}">/</div>
                                            </div>
                                        </div>
                                        <div class="row-fluid">
                                            <div class="span12">
                                                <div th:text="${'等级:' + footScinfoList[i*5+j].qydj + '/球员身价:' + footScinfoList[i*5+j].qysj}">：</div>
                                            </div>
                                        </div>
                                    </a>
                                </div>
                            </div>
                            <div class="span1">
                                &nbsp;
                            </div>
                        </div>
                        <div class="row-fluid" th:include="common/page :: page"></div>
                        <!--/#page-content-->
                    </div>
                    <!--/#page-content-->
                </div>
            </form>
        </div>
        <div th:replace="common/skin :: skin"></div>
    </div><!--/#main-content-->
</div><!--/.fluid-container#main-container-->
<div th:replace="common/jsList"></div>
</body>
</html>
